<section id="main-content">
  <section class="wrapper">
    <!--state overview end-->
    <div class="row">
      <div class="col-lg-12">
        <div class="alert alert-warning fade in">
          <button data-dismiss="alert" class="close close-sm" type="button">
            <i class="icon-remove"></i>
          </button>
          <strong>备注说明：</strong> <br />
          1、本页面默认显示本人名下的资产，如果有出入，请联系资产管理员；<br />
          2、导入的资产数据可以根据导入时的日期进行搜索，前置条件选择资产编码，输入框输入格式参考：20190101。
        </div>
        <!--文件上传 datagrid-->
        <section class="panel hidefile" style="display: none;">
          <header class="panel-heading">
            文件上传
          </header>
          <div class="panel-body">

            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">文件类型</label>
              <div class="col-sm-10">
                <select certus-required class="form-control" ng-model="bxType" disabled>
                  <option ng-repeat="x in bxSelect" value="{{x.code}}">
                    {{x.name}}
                  </option>
                </select>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">文件上传</label>
              <div class="col-sm-10">
                <input type="file" class="form-control input-file" id="fileUploadId">
              </div>
            </div>
            <p class="default-buttons">
              <a href="javascript:void(0);" class="button-back btn btn-info" onclick="hidefile();">取消</a>
              <a href="javascript:void(0);" class="button-next  btn btn-info btn-l10" ng-click="bxExcelImport();">确认</a>
              <a href="javascript:void(0);" class="button-next  btn btn-primary" ng-click="downloadModel();"><i
                  class="icon-download-alt"></i> 模板下载</a>
            </p>
          </div>
        </section>

        <section class="panel">
          <header class="panel-heading">
            资产信息
            <i class="button-next icon-plus btn-l10" ng-show="isCrud" onclick="location.href='#/toAddAssets'"> 新增</i>
          </header>
          <div class="panel-body">

            <div class="row" ng-show="isCrud">
              <div class="col-lg-2">
                <div class="input-group m-bot15">
                  <span class="input-group-addon" style="position: relative;z-index: 2;">前置条件</span>
                  <select class="form-control" style="position: relative;margin-left:-4px;text-indent:4px;"
                    id="searchCode" onchange="changeparam(this.value)">
                    <option value="0">全部</option>
                    <option value="1">归属公司</option>
                    <option value="2">归属人</option>
                    <option value="3">归属项目</option>
                    <option value="4">资产编号</option>
                    <option value="5">资产分类</option>
                    <option value="6">状态</option>
                    <option value="7">创建人</option>
                  </select>
                </div>
              </div>
              <div class="col-lg-3">
                <div class="input-group m-bot15">
                  <span class="input-group-addon" style="position: relative;z-index: 2;">搜索内容</span>
                  <div id="paramt">
                    <input type="text" id="searchParam" class="form-control" style="border-bottom-left-radius: 0;border-top-left-radius: 0;border-bottom-right-radius: 4px;border-top-right-radius: 4px;" disabled>
                  </div>
                </div>
              </div>
              <div class="col-lg-3">
                <button class="btn btn-info psearch" style="margin-bottom:15px;">搜索</button>
                <button class="btn btn-success" style="margin-bottom:15px;" ng-show="isCrud" ng-click="importExcel()"> 导入</button>
              </div>
            </div>

            <!-- <div class="mail-option" ng-show="isCrud">
              <div class="btn-group pull-left">
                <label>条件选择：</label>
              </div>
              <div class="btn-group pull-left">
                <select id="searchCode" class="form-control" onchange="changeparam(this.value)">
                  <option value="0">全部</option>
                  <option value="1">归属公司</option>
                  <option value="2">归属人</option>
                  <option value="3">归属项目</option>
                  <option value="4">资产编号</option>
                  <option value="5">资产分类</option>
                  <option value="6">状态</option>
                  <option value="7">创建人</option>
                </select>
              </div>
              <div class="btn-group pull-left">
                <div id="paramt">
                  <input type="text" value="" id="searchParam" class="form-control" disabled />
                </div>
              </div>
              <div class="btn-group pull-left">
                <button class="btn btn-info psearch">搜索</button>
              </div>
              <div class="btn-group pull-right">
                <button class="btn btn-success" ng-show="isCrud" ng-click="importExcel()"> 导入</button>
              </div>
            </div> -->

            <div id="assetsContainer" class="dlshouwen-grid-container"></div>
            <div id="assetsToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
          </div>
        </section>
      </div>
    </div>
  </section>
</section>
<script type="text/javascript" src="js/autocomplete/jquery.autocomplete.js"></script>
<script src="js/adms/assets.js"></script>